package com.qf.shiro2204.user.mapper;

import com.qf.shiro2204.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dong
 * @since 2023-04-17
 */
//@Mapper
public interface UserDao extends BaseMapper<User> {

    List<String> getRoles(@Param("id") Integer id);

    List<String> getPerms(@Param("id") Integer id);
}
